// @ts-ignore
/* eslint-disable */
import request from '@/request/request.ts'

/** 此处后端没有提供注释 GET /sse/connect/${param0} */
export async function connect(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.connectParams
    ,
  options ?: {[key: string]: any}
) {
  const { 'taskId': param0,
  ...queryParams
  } = params;
  return request<API.SseEmitter>(`/sse/connect/${param0}`, {
  method: 'GET',
    params: {...queryParams,},
    ...(options || {}),
  });
}

